Skip to content

Conversation

@lkhyun
Copy link
Contributor

@lkhyun lkhyun commented Mar 17, 2025

🧷 문제 링크

https://www.acmicpc.net/problem/2110

🧭 풀이 시간

90분

👀 체감 난이도

✏️ 문제 설명

N개의 집에 C개의 공유기를 설치했을 때 가장 인접한 공유기간의 거리 중 최대 거리를 출력

🔍 풀이 방법

이분탐색

⏳ 회고

이분탐색이라는 것을 알아도 적용하지 못하면 풀기 힘든 것 같다. 이분탐색의 while문 안에서 mid를 이용한 적절한 처리 후 조건을 비교하는 것을 잘 이용하면 좋겠다.

@lkhyun lkhyun added the hint 💡 반례를 참고했거나 힌트를 얻고 풀었을 때 label Mar 17, 2025
@ShinHeeEul ShinHeeEul merged commit 9242f05 into main Mar 17, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hint 💡 반례를 참고했거나 힌트를 얻고 풀었을 때

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants